//@flow

import { RequestParamsBaseModal } from "../baseModal/requestParamsBaseModal";

type Props = {
    account	        :string,
    password        :string,
    vertifyCode	    :string,//验证码
}

export class AppRegisterModal extends RequestParamsBaseModal<Props,{}>{
    set account(value) {
        this._account = value;
    }

    set password(value) {
        this._password = value;
    }

    set vertifyCode(value) {
        this._vertifyCode = value;
    }
    get account() {
        return this._account;
    }

    get password() {
        return this._password;
    }

    get vertifyCode() {
        return this._vertifyCode;
    }
    constructor(props:Props){
        super(props)

            this._account	    =props.account;
            this._password	    =props.password;
            this._vertifyCode	=props.vertifyCode;

    }
}